package org.jeecg.modules.production.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 生产管理(开工通知单)数据表
 * @Author: jeecg-boot
 * @Date:   2022-11-30
 * @Version: V1.0
 */
@Data
@TableName("start_manage_data")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="start_manage_data对象", description="生产管理(开工通知单)数据表")
public class StartManageData implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**申请时间*/
    @Excel(name = "申请时间", width = 15)
    @ApiModelProperty(value = "申请时间")
    private java.lang.String appliedTime;
    /**请示编号*/
    @Excel(name = "请示编号", width = 15)
    @ApiModelProperty(value = "请示编号")
    private java.lang.String appliedNum;
    /**项目类型*/
    @Excel(name = "项目类型", width = 15)
    @ApiModelProperty(value = "项目类型")
    private java.lang.String projectType;
    /**请示标题*/
    @Excel(name = "请示标题", width = 15)
    @ApiModelProperty(value = "请示标题")
    private java.lang.String appliedTitle;
    /**年份*/
    @Excel(name = "年份", width = 15)
    @ApiModelProperty(value = "年份")
    private java.lang.String year;
    /**开工单类型*/
    @Excel(name = "开工单类型", width = 15, dicCode = "producation_start_type")
    @Dict(dicCode = "producation_start_type")
    @ApiModelProperty(value = "开工单类型")
    private java.lang.String manageType;
    /**项目编号*/
    @Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
    private java.lang.String projectNum;
    /**流水号*/
    @Excel(name = "流水号", width = 15)
    @ApiModelProperty(value = "流水号")
    private java.lang.String serialNum;
    /**建设单位联系人*/
    @Excel(name = "建设单位联系人", width = 15)
    @ApiModelProperty(value = "建设单位联系人")
    private java.lang.String busContact;
    /**联系人电话*/
    @Excel(name = "联系人电话", width = 15)
    @ApiModelProperty(value = "联系人电话")
    private java.lang.String contactTel;
    /**立项依据*/
    @Excel(name = "立项依据", width = 15, dicCode = "project_basis")
    @Dict(dicCode = "project_basis")
    @ApiModelProperty(value = "立项依据")
    private java.lang.String projectBasis;
    /**项目负责人*/
    @Excel(name = "项目负责人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "项目负责人")
    private java.lang.String projectMan;
    /**开工日期*/
    @Excel(name = "开工日期", width = 15)
    @ApiModelProperty(value = "开工日期")
    private java.lang.String startDate;
    /**交付日期*/
    @Excel(name = "交付日期", width = 15)
    @ApiModelProperty(value = "交付日期")
    private java.lang.String endDate;
    /**项目性质*/
    @Excel(name = "项目性质", width = 15, dicCode = "project_attribution")
    @Dict(dicCode = "project_attribution")
    @ApiModelProperty(value = "项目性质")
    private java.lang.String projectAttribution;
    /**上传文件 */
    @Excel(name = "上传文件 ", width = 15)
    @ApiModelProperty(value = "上传文件 ")
    private java.lang.String uploadFile;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
    /**原开工通知单id*/
    @Excel(name = "原开工通知单id", width = 15, dictTable = "start_manage_data", dicText = "applied_title", dicCode = "id")
    @Dict(dictTable = "start_manage_data", dicText = "applied_title", dicCode = "id")
    @ApiModelProperty(value = "原开工通知单id")
    private java.lang.String oriId;
    /**项目id*/
    @Dict(dictTable = "bus_project_basic", dicText = "project_name", dicCode = "id")
    @Excel(name = "附件", width = 15, dictTable = "bus_project_basic", dicText = "project_name", dicCode = "id")
    private java.lang.String projectId;
    /**流程状态*/
    @Excel(name = "流程状态", width = 15)
    @ApiModelProperty(value = "流程状态")
    private java.lang.String bpStateCode;
}
